﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="CadastroEditora.aspx.cs" Inherits="BookExpress.Editora.CadastroEditora" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
       <h2>Cadastro de Editoras</h2>
    <p>
        <table style="width: 100%;">
            <tr>
                <td>
                    *Nome:<br />
                    <asp:TextBox ID="Nome" runat="server" Width="294px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldNome" runat="server" 
                        ControlToValidate="Nome" Display="None" ErrorMessage="Preencha o campo Nome."></asp:RequiredFieldValidator>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
                        ShowMessageBox="True" ShowSummary="False" />
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Button ID="BtnConfirmarCadastro"
                    OnClientClick="Javascript:if(Page_ClientValidate()){return confirm('Confirma cadastro?');}"
                     runat="server" Text="Confirmar" CausesValidation="False" />
                </td>
            </tr>
        </table>
       </p>

</asp:Content>
